Context-dependent scheduling through the use of anticipated grants for broadband communication systems

ABSTRACT

A method of scheduling upstream bandwidth. This method comprises: 1) anticipating the need for the upstream bandwidth in advance of any specific request for said upstream bandwidth; and 2) scheduling the upstream bandwidth in accordance with such need.

RELATED APPLICATIONS

[0001] This application claims priority from an earlier-filed provisional patent application entitled “Context Dependent Scheduling” filed on Oct. 31, 2001.

FIELD OF THE INVENTION

[0002] The present invention relates to broadband communications systems. More particularly, the present invention is directed to upstream channel scheduling in broadband systems such as cable modem systems.

BACKGROUND

[0003] Recently, there has been an explosive demand for services, such as data, voice, and video, to be delivered over broadband communications systems. So-called cable modem technology is one of the most popular methods of providing such broadband services to subscribers. Cable modem technology competes with technologies such as Asymmetric Digital Subscriber Lines (ADSL) and ISDN (Integrated Services Digital Network). Many in the industry forecast that cable modem systems will be the prevailing technology for providing broadband services since cable television is already widely in use.

[0004]FIG. 1 illustrates a simplified diagram of a conventional cable modem system. The DOCSIS (Data Over Cable Service Interface Specifications) Radio Frequency Interface Specification specifies the transfer of IP traffic, between the cable headend system and customer locations, over an all-coaxial or a hybrid-fiber/coax (HFC) cable network 52. The transmission path over the cable system is realized at the headend by a Cable Modem Termination System (CMTS) 50, and at each customer location by a Cable Modem (CM) 56. The DOCSIS standard defines a single transmitter for each downstream channel—the CMTS 50. All CMs 56 listen to all frames transmitted on the downstream channel upon which they are registered and accept those where the destinations match the CM 56 itself or CPEs (Customer Premises Equipment) 58 connected. CMs 56 can communicate with other CMs 56 only through the CMTS 50.

[0005] The upstream channel is characterized by many transmitters (i.e. CMs 56) and one receiver (i.e. the CMTS 50). Time in the upstream channel is slotted, providing for TDMA at regulated time ticks. The CMTS 50 provides the time reference and controls the allowed usage for each interval. Intervals may be granted for transmissions by particular CMs 56, or for contention by all CMs 56. CMs 56 may contend to request transmission time. To a limited extent, CMs 56 may also contend to transmit actual data. In both cases, collisions can occur and retries are used.

[0006] The upstream Physical Media Dependent (PMD) sublayer uses a Frequency Division Multiple Access (FDMA)/TDMA burst modulation format, which provides five symbol rates and two modulation formats (Quadrature Phase Shift Keying (QPSK) and 16-QAM (Quadrature Amplitude Modulation)). The modulation format includes pulse shaping for spectral efficiency, is carrier-frequency agile, and has selectable output power level. The PMD sublayer format includes a variable-length modulated burst with precise timing beginning at boundaries spaced at integer multiples of 6.25 microseconds apart (which is 16 symbols at the highest data rate). Each burst supports a flexible modulation, symbol rate, preamble, randomization of the payload, and programmable FEC (Forward Error Correction) encoding. All of the upstream transmission parameters associated with burst transmission outputs from the CM 56 are configurable by the CMTS 50 via MAC (Media Access Controller) messaging.

[0007] The concept of Service Flows is central to the operation of the DOCSIS upstream transmission. Service Flows provide a mechanism for upstream Quality of Service management. In particular, they are integral to bandwidth allocation. A Service Flow ID defines a particular unidirectional mapping between a cable modem and the CMTS. Active upstream Service Flow IDs also have associated Service IDs or SIDs. Upstream bandwidth is allocated to SIDs, and hence to cable modems, by the CMTS upstream scheduler. SIDs provide the mechanism by which upstream Quality of Service is implemented.

[0008] In a basic cable modem implementation, two Service Flows (one upstream, one downstream) could be used, for example, to offer best-effort IP (Internet Protocol) service. However, the Service Flow concept allows for more complex cable modems to be developed which support for multiple service classes while supporting interoperability with more basic modems. With these more complex cable modems, it is possible that certain Service Flows will be configured in such a way that they cannot carry all types of traffic. That is, they may have a maximum packet size limitation or be restricted to small fixed size unsolicited grants. Furthermore it might not be appropriate to send other kinds of data on Service Flows that are being used for Constant Bit Rate (CBR)-type applications.

[0009] Even in these complex modems, it is necessary to be able to send certain upstream packets needed for MAC management, SNMP management, key management, etc. For the network to function properly, all cable modems should support at least one upstream and one downstream Service Flow. All Service Flow IDs are unique within the upstream. The mapping of a unicast Service Identifier to an active/admitted Service Flow is unique within a single upstream. The length of the Service Flow ID is 32 bits. The length of the Service ID is 14 bits.

[0010] As shown in FIG. 2, the upstream transmission time-line is divided into intervals by the upstream bandwidth allocation mechanism. Each interval is an integral number of mini-slots. A “mini-slot” is the unit of granularity for upstream transmission opportunities. There is no implication that any PDU can actually be transmitted in a single mini-slot. Each interval is labeled with a usage code, which defines both the type of traffic that can be transmitted during that interval and the physical-layer modulation encoding. A mini-slot is a power-of-two multiple of 6.25 microseconds increments, i.e., 2, 4, 8, 16, 32, 64, or 128 times 6.25 microseconds. Since the upstream channel is modeled as a stream of mini-slots, the CMTS generates the time reference for identifying these slots. The CMTS also controls access to these slots by the cable modems. For example, it may grant some number of contiguous slots to a cable modem for it to transmit a data PDU. The cable modem times its transmission such that that the CMTS receives it in the time reference specified. The basic mechanism for assigning bandwidth management is the bandwidth allocation MAP.

[0011] The bandwidth allocation MAP is a MAC Management message transmitted by the CMTS on the downstream channel which describes, for some interval of time, the uses to which the upstream frequency will be used by a given CM. A given MAP may describe some time slots as grants for particular stations to transmit data in, other time slots as available for contention transmission, and other slots as an opportunity for new stations to join the link. FIG. 3 illustrates a MAC Header and MAC Management Message Header Fields.

[0012] The upstream bandwidth allocation MAP includes a fixed-length header followed by a variable number of information elements (IEs) as shown in FIG. 4. The upstream bandwidth allocation MAP message header contains the following information:

[0013] Upstream Channel ID: The identifier of the upstream channel to which this message refers.

[0014] UCD Count: Matches the value of the Configuration Change Count of the UCD which describes the burst parameters which apply to this map.

[0015] Number Elements: Number of information elements in the map.

[0016] Alloc Start Time: Effective start time from CMTS initialization (in mini-slots) for assignments within this map.

[0017] Ack Time: Latest time, from CMTS initialization, (mini-slots) processed in upstream. This time is used by the CMs for collision detection purposes.

[0018] Ranging Backoff Start: Initial back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0).

[0019] Ranging Backoff End: Final back-off window for initial ranging contention, expressed as a power of two. Values range 0-15 (the highest order bits must be unused and set to 0).

[0020] The number of Transmit Opportunities associated with a particular Information Element (IE) in a MAP is dependent on the total size of the region as well as the allowable size of an individual transmission. As an example, assume a REQ IE defines a region of 12 mini-slots. If the UCD defines a REQ Burst Size that fits into a single mini-slot then there are 12 Transmit Opportunities associated with this REQ IE, i.e., one for each mini-slot. If the UCD defines a REQ that fits in two mini-slots, then there are six Transmit Opportunities and a REQ can start on every other mini-slot. TABLE 1 The Interval Usage Codes Interval Usage Code Information Element Name 1 Request 2 REQ/Data 3 Initial Maintenance 4 Station Maintenance 5 Short Data Grant 6 Long Data Grant 7 Null IE 8 Data Acknowledge 9-14 Reserved 15  Expanded IUC

[0021] As another example, assume a REQ/Data IE that defines a 24 mini-slot region. If it is sent with an SID of 0×3FF4, then a CM can potentially start a transmit on every fourth mini-slot; so this IE contains a total of six Transmit Opportunities (TX OP). Similarly, a SID of 0×3FF6 implies four TX OPs; 0×3FF8 implies three TX OPs; and 0×3FFC implies two TX OPs.

[0022] For an Initial Maintenance IE, a CM starts its transmission in the first mini-slot of the region; therefore it has a single Transmit Opportunity. The remainder of the region is used to compensate for the round trip delays since the CM has not yet been ranged. Station Maintenance IEs, Short/Long Data Grant IEs and unicast Request IEs are unicast and thus are not typically associated with contention Transmit Opportunities. They represent a single dedicated, or reservation based, Transmit Opportunity.

[0023] Each IE consists of a 14-bit Service ID, a 4-bit type code, and a 14-bit starting. FIG. 5 illustrates the structure of a MAP IE. Since all stations will scan all IEs, it is critical that IEs be short and relatively fixed format. IEs within the MAP are strictly ordered by starting offset. For most purposes, the duration described by the IE is inferred by the difference between the IE's starting offset and that of the following IE. For this reason, a Null IE terminates the list.

[0024] Types of Information Elements (IEs)

[0025] Four types of Service IDs are defined:

[0026] 1. 0×3FFE—broadcast, intended for all stations.

[0027] 2. 0×2000-0×3FFE—multicast, purpose is defined administratively.

[0028] 3. 0×0001-0×1FFF—unicast, intended for a particular CM or a particular service within that cable modem.

[0029] 4. 0×0000—null address, addressed to no station.

[0030] All of the Information Elements defined are supported by cable modems. A CMTS uses any of these Information Elements when creating Bandwidth Allocation Maps.

[0031] The Request (REQ) IE

[0032] The Request IE provides an upstream interval in which requests can be made for bandwidth for upstream data transmission. The character of this IE changes depending on the class of Service ID. If broadcast, this is an invitation for all cable modems to contend for requests. If unicast, this is an invitation for a particular CM to request bandwidth.

[0033] A small number of Priority Request SIDs are defined in DOCSIS. These allow contention for Request IEs to be limited to service flows of a given Traffic Priority. The Request/Data IE provides an upstream interval in which requests for bandwidth or short data packets may be transmitted. This IE is distinguished from the Request IE in that it provides a means by which allocation algorithms may provide for “immediate” data contention under light loads, and a means by which this opportunity can be withdrawn as network loading increases.

[0034] Multicast Service IDs are used to specify maximum data length, as well as allowed random starting points within the interval. For example, a particular multicast ID may specify a maximum of 64-byte data packets, with transmit opportunities every fourth slot.

[0035] Short and Long Data Grant IEs

[0036] The Short and Long Data Grant IEs provide an opportunity for a cable modem to transmit one or more upstream PDUs. These IEs are issued either in response to a request from a station, or because of an administrative policy providing some amount of bandwidth to a particular station (see class-of-service discussion below). These IEs can also be used with an inferred length of zero mini slots (a zero length grant), to indicate that a request has been received and is pending (a Data Grant pending).

[0037] Short Data Grants are used with intervals less than or equal to the maximum burst size for this usage specified in the Upstream Channel Descriptor. If Short Data burst profiles are defined in the UCD, then all Long Data Grants are for a larger number of mini-slots than the maximum for Short Data. The distinction between Long and Short Data Grants may be exploited in physical-layer forward-error-correction coding; otherwise, it is not meaningful to the bandwidth allocation process.

[0038] If this IE is a Data Grant Pending (a zero length grant), it will follow the NULL IE. This allows cable modems to process all actual allocations first, before scanning the MAP for data grants pending and data acknowledgments.

[0039] Data Acknowledge IE

[0040] The Data Acknowledge IE acknowledges that a data PDU was received. The cable modem will have requested this acknowledgment within the data PDU (normally this would be done for PDUs transmitted within a contention interval in order to detect collisions). This IE will follow the NULL IE. This allows cable modems to process all actual interval allocations first, before scanning the Map for data grants pending and data acknowledgments.

[0041] Requests

[0042] Requests refer to the mechanism that cable modems use to indicate to the CMTS that it needs upstream bandwidth allocation. A transmission request may come as a stand-alone Request Frame transmission or it may come as a piggyback request in the EHDR of another Frame transmission.

[0043] The Request Frame may be transmitted during any of the following intervals:

[0044] Request IE

[0045] Request/Data IE

[0046] Short Data Grant IE

[0047] Long Data Grant IE

[0048] A piggyback request may be contained in the following Extended Headers (EHs):

[0049] Request EH element

[0050] Upstream Privacy EH element

[0051] Upstream Privacy EH element with Fragmentation

[0052] The request will include:

[0053] The Service ID making the request

[0054] The number of mini-slots requested

[0055] The number of mini-slots requested will be the total number that are desired by the cable modem at the time of the request (including any physical layer overhead), subject to UCD 2 and administrative limits. The cable modem will request a number of mini-slots corresponding to one complete frame, except in the case of fragmentation in Piggyback Mode.

[0056] The cable modem will have only one request outstanding at a time per Service ID. If the CMTS does not immediately respond with a Data Grant, the cable modem is able to unambiguously determine that its request is still pending because the CMTS will continue to issue a Data Grant Pending in every MAP for as long as a request is unsatisfied. In MAPs, the CMTS cannot make a data grant greater than 255 mini-slots to any assigned Service ID. This puts an upper bound on the grant size the cable modem has to support.

[0057] The allocation MAP transmitted in time to propagate across the physical cable and be received and handled by the receiving cable modems. As such, it may be transmitted considerably earlier than its effective time. The components of the delay are:

[0058] Worst-case round-trip propagation delay—may be network-specific, but on the order of hundreds of microseconds;

[0059] Queuing delays within the CMTS—implementation-specific;

[0060] Processing delays within the CMs will allow a minimum processing time by each cable modem; and

[0061] PMD-layer FEC interleaving.

[0062] Within these constraints, vendors may wish to minimize this delay so as to minimize latency of access to the upstream channel. The number of mini-slots described vary from MAP to MAP. At a minimum, a MAP describes a single mini-slot. This would be wasteful in both downstream bandwidth and in processing time within the cable modems. At maximum, a MAP may stretch to tens of milliseconds. Such a MAP would provide poor upstream latency.

[0063] Allocation algorithms vary the size of the MAPs over time to provide a balance of network utilization and latency under varying traffic loads. A MAP would contain at least two Information Elements: one to describe an interval and a null IE to terminate the list. At the most, a MAP is bounded by a limit of 240 information elements. Maps are also bounded in that they will not describe more than 4096 mini-slots into the future. The latter limit is intended to bound the number of future mini-slots that each cable modem is required to track. A cable modem is able to support multiple outstanding MAPs. Even though multiple MAPs may be outstanding, the sum of the number of mini-slots they describe will not exceed 4096. The set of all maps, taken together, describes every mini-slot in the upstream channel. If a cable modem fails to receive a MAP describing a particular interval, it will not transmit during that interval.

[0064]FIG. 6 illustrates a protocol exchange between a cable modem and CMTS. This example illustrates the interchange between the cable modem and the CMTS when the cable modem has data to transmit. If a cable modem has a data PDU available for transmission, then the following steps occur:.

[0065] 1. At time t₁, the CMTS transmits a MAP whose effective starting time is t₃ . Within this MAP is a Request IE which will start at t₅. The difference between t₁ and t₃ is needed to allow for:

[0066] Downstream propagation delay (including FEC interleaving) to allow all CMs to receive the MAP;

[0067] Processing time at the cable modem (allows the cable modems to parse the MAP and translate it into transmission opportunities);

[0068] Upstream propagation delay (to allow the cable modem's transmission of the first upstream data to begin in time to arrive at the CMTS at time t₃).

[0069] 2. At t₂ , the cable modem receives this MAP and scans it for request opportunities. In order to minimize request collisions, it calculates t₆ as a random offset based on the Data Backoff Start value in the most recent MAP.

[0070] 3. At t₄, the cable modem transmits a request for as many mini-slots as needed to accommodate the PDU. Time t₄ is chosen based on the ranging offset so that the request will arrive at the CMTS at t₆.

[0071] 4. At t₆, the CMTS receives the request and schedules it for service in the next MAP. (The choice of which requests to grant will vary with the class of service requested, any competing requests, and the algorithm used by the CMTS.)

[0072] 5. At t₇, the CMTS transmits a MAP whose effective starting time is t₉. Within this MAP, a data grant for the CM will start at t₁₁.

[0073] 6. At t₈, the cable modem receives the MAP and scans for its data grant.

[0074] 7. At t₁₀, the CM transmits its data PDU so that it will arrive at the CMTS at t₁₁. Time t₁₀ is calculated from the ranging offset as in step 3 above.

[0075] Steps 1 and 2 need not contribute to access latency if cable modems routinely maintain a list of request opportunities. At step 3, the request may collide with requests from other cable modems and be lost. The CMTS does not directly detect the collision. The cable modem determines that a collision (or other reception failure) occurred when the next MAP fails to include acknowledgment of the request. The cable modem will then perform a back-off algorithm and retry.

[0076] At step 4, the CMTS scheduler fail to accommodate the request within the next MAP. If so, it will reply with a zero-length grant in that MAP or discard the request by giving no grant at all. It will continue to report this zero-length grant in all succeeding maps until the request can be granted or is discarded. This will signal to the cable modem that the request is still pending. So long as the cable modem is receiving a zero-length grant, it will not issue new requests for that service queue.

[0077] Since many different scheduling algorithms can be implemented in the CMTS, the DOCSIS specification does not mandate a particular scheduling algorithm. Instead, DOCSIS describes the protocol elements by which bandwidth is requested and granted. Cable modems may issue requests to the CMTS for upstream bandwidth. The CMTS transmit allocation MAP PDUs on the downstream channel define the allowed usage of each mini-slot.

[0078] Contention Resolution

[0079] The DOCSIS specification mandates the method of contention resolution as the truncated binary exponential back-off, with the initial back-off window and the maximum back-off window controlled by the CMTS. The values are specified as part of the Bandwidth Allocation Map (MAP) MAC message and represent a power-of-two value. For example, a value of 4 indicates a window between 0 and 15; a value of 10 indicates a window between 0 and 1023.

[0080] When a cable modem has information to send and wants to enter the contention resolution process, it sets its internal back-off window equal to the Data Backoff Start defined in the MAP currently in effect. The cable modem will randomly select a number within its back-off window. This random value indicates the number of contention transmit opportunities which the cable modem will defer before transmitting. A cable modem will only consider contention transmit opportunities for which this transmission would have been eligible. These are defined by either Request IEs or Request/Data IEs in the MAP. Note: Each IE can represent multiple transmission opportunities.

[0081] As an example, consider a cable modem whose initial back-off window is 0 to 15 and it randomly selects the number 11. The cable modem must defer a total of 11 contention transmission opportunities. If the first available Request IE is for 6 requests, the cable modem does not use this and has 5 more opportunities to defer. If the next Request IE is for 2 requests, the cable modem has 3 more to defer. If the third Request IE is for 8 requests, the cable modem transmits on the fourth request, after deferring for 3 more opportunities.

[0082] After a contention transmission, the cable modem waits for a Data Grant (Data Grant Pending) or Data Acknowledge in a subsequent MAP. Once either is received, the contention resolution is complete. The cable modem determines that the contention transmission was lost when it finds a MAP without a Data Grant (Data Grant Pending) or Data Acknowledge for it and with an Ack time more recent than the time of transmission. The cable modem will now increase its back-off window by a factor of two, as long as it is less than the maximum back-off window. The cable modem will randomly select a number within its new back-off window and repeat the deferring process described above.

[0083] This re-try process continues until the maximum number of retries (16) has been reached, at which time the PDU will be discarded. The maximum number of retries is independent of the initial and maximum back-off windows that are defined by the CMTS. If the cable modem receives a unicast Request or Data Grant at any time while deferring for this SID, it will stop the contention resolution process and use the explicit transmit opportunity.

[0084] The CMTS has much flexibility in controlling the contention resolution. At one extreme, the CMTS may choose to set up the Data Backoff Start and End to emulate an Ethernet-style back-off with its associated simplicity and distributed nature, but also its fairness and efficiency issues. This would be done by setting Data Backoff Start=0 and End=10 in the MAP. At the other end, the CMTS may make the Data Backoff Start and End identical and frequently update these values in the MAP so all cable modems are using the same, and hopefully optimal, back-off window.

[0085] CM Bandwidth Utilization

[0086] The following rules govern the response a CM makes when processing maps. These standard behaviors can be overridden by the CM's Request/Transmission Policy:

[0087] 1. A cable modem will first use any Grants assigned to it. Next, the CM will use any unicast REQ for it. Finally, the cable modem will use the next available broadcast/multicast REQ or REQ/Data IEs for which it is eligible.

[0088] 2. A cable modem will not have more than one Request outstanding at a time for a particular Service ID.

[0089] 3. If a cable modem has a Request pending, it will not use intervening contention intervals for that Service ID.

[0090] DOCSIS CMTS Scheduling

[0091] DOCSIS scheduling services are designed to improve the efficiency of the poll/grant process. By specifying a scheduling service and its associated quality-of-service (QoS) parameters, the DOCSIS CMTS can anticipate the throughput and latency needs of the upstream traffic and provide polls and/or grants at the appropriate times.

[0092] Each service is tailored to a specific type of data flow as described below. The basic services comprise:

[0093] Unsolicited Grant Service (UGS)

[0094] Real-Time Polling Service (rtPS)

[0095] Unsolicited Grant Service with-Activity Detection (UGS-AD)

[0096] Non-Real-Time Polling Service (nrtPS)

[0097] Best Effort (BE) service.

[0098]FIG. 7 illustrates the relationship between the scheduling services and the related QoS parameters. Each of these is discussed in more detail below:

[0099] Unsolicited Grant Service

[0100] The Unsolicited Grant Service (UGS) is designed to support real-time service flows that generate fixed size data packets on a periodic basis, such as Voice over IP. The UGS service offers fixed size grants on a real-time periodic basis, which eliminate the overhead and latency of cable modem requests and assure that grants will be available to meet the flow's real-time needs.

[0101] The CMTS provides fixed size data grants at periodic intervals to the Service Flow. In order for this service to work correctly, the Request/Transmission Policy setting will be such that the cable modem is prohibited from using any contention request or request/data opportunities and the CMTS does not provides any unicast request opportunities. The Request/Transmission Policy also prohibits piggyback requests. This will result in the cable modem only using unsolicited data grants for upstream transmission. The key service parameters are the Unsolicited Grant Size, the Nominal Grant interval, the Tolerated Grant Jitter and the Request/Transmission Policy.

[0102] ATM CBR (constant bit rate) Services

[0103] The Constant Bit Rate (CBR) service class is intended for real-time applications, i.e. those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. The consistent availability of a fixed quantity of bandwidth is considered appropriate for CBR service. Cells which are delayed beyond the value specified by CTD (cell transfer delay) are assumed to be significantly less value to the application.

[0104] For CBR, the following ATM attributes are specified:

[0105] PCR/CDVT(peak cell rate/cell delay variation tolerance)

[0106] Cell Loss Rate

[0107] CTD/CDV

[0108] CLR may be unspecified for CLP=1.

[0109] Real-Time Polling Service

[0110] The Real-Time Polling Service (rtPS) is designed to support real-time service flows that generate variable size data packets on a periodic basis, such as MPEG video. The service offers real-time, periodic, unicast request opportunities, which meet the flow's real-time needs and allow the CM to specify the size of the desired grant. This service requires more request overhead than UGS, but supports variable grant sizes for optimum data transport efficiency.

[0111] The CMTS will provide periodic unicast request opportunities. In order for this service to work correctly, the Request/Transmission Policy setting will be such that the cable modem is prohibited from using any contention request or request/data opportunities. The Request/Transmission Policy will also prohibit piggyback requests. The CMTS may issue unicast request opportunities as prescribed by this service even if a grant is pending. This will result in the cable modem using only unicast request opportunities in order to obtain upstream transmission opportunities (the cable modem could still use unsolicited data grants for upstream transmission as well). All other bits of the Request/Transmission Policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the Nominal Polling Interval, the Tolerated Poll Jitter and the Request/Transmission Policy.

[0112] ATM Real time VBR

[0113] The real time VBR service class is intended for real-time applications, i.e., those requiring tightly constrained delay and delay variation, as would be appropriate for voice and video applications. Sources are expected to transmit at a rate which varies with time. Equivalently the source can be described “bursty”. Cells which are delayed beyond the value specified by CTD are assumed to be of significantly less value to the application. Real-time VBR service may support statistical multiplexing of real-time sources, or may provide a consistently guaranteed QoS.

[0114] For real time VBR, the following ATM attributes are specified:

[0115] PCR/CDVT

[0116] CLR

[0117] CTD/CDV

[0118] SCR and BT(sustainable cell rate and burst tolerance)

[0119] Unsolicited Grant Service with Activity Detection

[0120] The Unsolicited Grant Service with Activity Detection (UGS/AD) is designed to support UGS flows that may become inactive for substantial portions of time (i.e. tens of milliseconds or more), such as Voice over IP with silence suppression. The service provides Unsolicited Grants when the flow is active and unicast polls when the flow is inactive. This combines the low overhead and low latency of UGS with the efficiency of rtPS. Though USG/AD combines UGS and rtPS, only one scheduling service is active at a time.

[0121] The CMTS will provide periodic unicast grants, when the flow is active, but will revert to providing periodic unicast request opportunities when the flow is inactive. The CMTS can detect flow inactivity by detecting unused grants. However, the algorithm for detecting a flow changing from an active to an inactive state is dependent on the CMTS implementation. In order for this service to work correctly, the Request/Transmission Policy setting will be such that the cable modem is prohibited from using any contention request or request/data opportunities. The Request/Transmission Policy will also prohibit piggyback requests. This results in the cable modem using only unicast request opportunities in order to obtain upstream transmission opportunities. However, the cable modem will use unsolicited data grants for upstream transmission as well.

[0122] All other bits of the Request/Transmission Policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the Nominal Polling Interval, the Tolerated Poll Jitter, the Nominal Grant Interval, the Tolerated Grant Jitter, the Unsolicited Grant Size and the Request/Transmission Policy.

[0123] In UGS-AD service, when restarting UGS after an interval of rtPS, the CMTS will provide additional grants in the first (and/or second) grant interval such that the cable modem receives a total of one grant for each grant interval from the time the cable modem requested restart of UGS, plus one additional grant.

[0124] Because the Service Flow is provisioned as a UGS flow with a specific grant interval and grant size, when restarting UGS, the cable modem will not request a different sized grant than the already provisioned UGS flow. As with any Service Flow, changes can only be requested with a DSC command. If the restarted activity requires more than one grant per interval, the CM MUST indicate this in the Active Grants field of the UGSH beginning with the first packet sent.

[0125] The Service Flow Extended Header Element allows for the cable modem to dynamically state how many grants per interval are required to support the number of flows with activity present. In UGS/AD, the cable modem may use the Queue Indicator Bit in the UGSH. The remaining seven bits of the UGSH define the Active Grants field. This field defines the number of grants within a Nominal Grant Interval that this Service Flow currently requires.

[0126] When using UGS/AD, the cable modem will indicate the number of requested grants per Nominal Grant Interval in this field. The Active Grants field of the UGSH is ignored with UGS without Activity Detection. This field allows the cable modem to signal to the CMTS to dynamically adjust the number of grants per interval that this UGS Service Flow is actually using. The cable modem will not request more than the number of Grants per Interval in the ActiveQoSParameterSet.

[0127] If the CMTS allocates additional bandwidth in response to the QI bit, it will use the same rate limiting formula as UGS, but the formula only applies to steady state periods where the CMTS has adjusted the grants_per_interval to match the active_grants requested by the cable modem.

[0128] When the cable modem is receiving unsolicited grants and it detects no activity on the Service Flow, it may send one packet with the Active Grants field set to zero grants and then cease transmission. Because this packet may not be received by the CMTS, when the Service Flow goes from inactive to active the cable modem will be able to restart transmission with either polled requests or unsolicited grants.

[0129] Non-Real-Time Polling Service

[0130] The Non-Real-Time Polling Service (nrtPS) is designed to support non real-time service flows that require variable size data grants on a regular basis, such as high bandwidth FTP. The service offers unicast polls on a regular basis which assures that the flow receives request opportunities even during network congestion. The CMTS typically polls nrtPS SIDs on an (periodic or non-periodic) interval on the order of one second or less.

[0131] The CMTS provide timely unicast request opportunities. In order for this service to work correctly, the Request/Transmission Policy setting will be such that the cable modem is allowed to use contention request opportunities. This will result in the cable modem using contention request opportunities as well as unicast request opportunities and unsolicited data grants. All other bits of the Request/Transmission Policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are Nominal Polling Interval, Minimum Reserved Traffic Rate, Maximum Sustained Traffic Rate, Request/Transmission Policy and Traffic Priority.

[0132] ATM Non-real time VBR

[0133] The non-real time VBR service class is intended for non-real time applications which have ‘bursty’ traffic characteristics and which can be characterized in terms of a GCRA. For those cells which are transferred, it expects a bound on the cell transfer delay. Non-real time VBR service supports statistical multiplexing of connections.

[0134] For real time VBR, the following ATM attributes are specified:

[0135] PCR/CDVT

[0136] CLR

[0137] CTD

[0138] SCR and BT

[0139] Best Effort Service

[0140] The intent of the Best Effort (BE) service is to provide efficient service to best effort traffic. In order for this service to work correctly, the Request/Transmission Policy setting will be such that the cable modem is allowed to use contention request opportunities. This will result in the cable modem using contention request opportunities as well as unicast request opportunities and unsolicited data grants. All other bits of the Request/Transmission Policy are not relevant to the fundamental operation of this scheduling service and should be set according to network policy. The key service parameters are the Minimum Reserved Traffic Rate, the Maximum Sustained Traffic Rate, and the Traffic Priority.

[0141] ATM UBR (unspecified bit rate)

[0142] The UBR service class is intended for delay-tolerant or non-real-time applications, i.e., those which do not require tightly constrained delay and delay variation, such as traditional computer communications applications. Sources are expected to transmit non-continuous bursts of cells. UBR service supports a high degree of statistical multiplexing among sources. UBR service includes no notion of a per-VC allocated bandwidth resource. Transport of cells in UBR service is not necessarily guaranteed by mechanisms operating at the cell level. However it is expected that resources will be provisioned for UBR service in such a way as to make it usable for some set of applications. UBR service may be considered as interpretation of the common term “best effort service”.

[0143] For UBR, the following ATM attributes are specified:

[0144] PCR/CDVT

[0145] ATM ABR (available bit rate)

[0146] Many applications have the ability to reduce their information transfer rate if the network requires them to do so. Likewise, they may wish to increase their information transfer rate if there is extra bandwidth available within the network. There may not be deterministic parameters because the users are willing to live with unreserved bandwidth. To support traffic from such sources in an ATM network will require facilities different from those for Peak Cell Rate of Sustainable Cell Rate traffic. The ABR service is designed to fill this need.

[0147] Relevant Encodings for the Upstream Scheduling

[0148] Service Flow Scheduling Type

[0149] The value of this parameter specifies which upstream scheduling service is used for upstream transmission requests and packet transmissions. If this parameter is omitted, then the Best Effort service will be assumed. This parameter is only applicable at the CMTS. If defined, this parameter MUST be enforced by the CMTS. Type Length Value 24.15 1 0 Reserved 1 for Undefined (CMTS implementation- dependent 1) 2 for Best Effort 3 for Non-Real-Time Polling Service 4 for Real-Time Polling Service 5 for Unsolicited Grant Service with Activity Detection 6 for Unsolicited Grant Service 7 through 255 are reserved for future use

[0150] Request/Transmission Policy

[0151] The value of this parameter specifies 1) which IUC opportunities the cable modem uses for upstream transmission requests and packet transmissions for this Service Flow, 2) whether requests for this Service Flow may be piggybacked with data and 3) whether data packets transmitted on this Service Flow can be concatenated, fragmented, or have their payload headers suppressed. For UGS, it also specifies how to treat packets that do not fit into the UGS grant. The data grants referred to include both short and long data grants.

[0152] Bit #0—The Service Flow will not use “all cable modems” broadcast request opportunities.

[0153] Bit #1—The Service Flow will not use Priority Request multicast request opportunities.

[0154] Bit #2—The Service Flow will not use Request/Data opportunities for Requests.

[0155] Bit #3—The Service Flow will not use Request/Data opportunities for Data.

[0156] Bit #4—The Service Flow will not piggyback requests with data.

[0157] Bit #5—The Service Flow will not concatenate data.

[0158] Bit #6—The Service Flow will not fragment data.

[0159] Bit #7—The Service Flow will not suppress payload headers.

[0160] Bit #8—The Service Flow will drop packets that do not fit in the Unsolicited Grant Size.

[0161] Priority Request Service IDs

[0162] These Service IDs (0×3Exx) are reserved for Request IEs:

[0163] If 0×01 bit is set, priority zero can request.

[0164] If 0×02 bit is set, priority one can request.

[0165] If 0×04 bit is set, priority two can request.

[0166] If 0×08 bit is set, priority three can request.

[0167] If 0×10 bit is set, priority four can request.

[0168] If 0×20 bit is set, priority five can request.

[0169] If 0×40 bit is set, priority six can request.

[0170] If 0×80 bit is set, priority seven can request.

[0171] Bits can be combined as desired by the CMTS upstream scheduler for any Request IUCs.

[0172] Traffic Priority

[0173] The value of this parameter specifies the priority assigned to a Service Flow. Given two Service Flows identical in all QoS parameters besides priority, the higher priority Service Flow should be given lower delay and higher buffering preference. For otherwise non-identical Service Flows, the priority parameter will not take precedence over any conflicting Service Flow QoS parameter. The specific algorithm for enforcing this parameter is not mandated here.

[0174] For upstream service flows, the CMTS should use this parameter when determining precedence in request service and grant generation, and the cable modem will preferentially select contention Request opportunities for Priority Request Service IDs based on this priority and its Request/Transmission Policy.

[0175] To illustrate the problem current CMTS scheduling under DOCSIS presents. An example application known commonly in the industry as “PacketCable” is discussed below. PacketCable is a project conducted by Cable Television Laboratories, Inc. and its member companies. The PacketCable project is aimed at defining interface specifications that can be used to develop interoperable equipment capable of providing packet-based voice, video and other high-speed multimedia services over hybrid fiber coax (HFC) cable systems utilizing the DOCSIS protocol. PacketCable utilizes a network superstructure that overlays the two-way data-ready broadband cable access network. While the initial PacketCable offering will be packet-based voice communications for existing and new cable subscribers, the long-term project vision encompasses a large suite of packet-based capabilities.

[0176] The application of NCS PacketCable call setup will be used throughout when discussing the various embodiments of the invention. The example uses the PacketCable NCS call protocol along with the DQoS setup procedure. The PacketCable NCS protocol requires a big number of messages passed between the eMTA (embedded MTA: a device which includes both the VoIP functionality and the cable modem functionality). The messages passed in their protocol flow are shown in FIG. 8, FIG. 9 and FIG. 10.

[0177] There are three alternatives to the PacketCable NCS call setup using strict DOCSIS mechanisms. The first one is the simplest one and put the call signaling messaging in the request/contention area, the second is to use the polled requests for the NCS call signaling and the last, is to use the priority requests. These are discussed in turn:

[0178] Using Broadcast Request Opportunities

[0179] In the method that uses broadcast request opportunities the NCS call signaling uses the best effort scheduling type. There are two problems with such kind of a use: the first one is that the time it takes the eMTA to send a packet, and the problem of using a contention are that is shared with the data packets.

[0180] The first issue is that assuming there is no contention on the Cable Modem requests, the time it takes the packet to be transmitted. FIG. 11, FIG. 12 and FIG. 13 show all the messages that are exchanged between the eMTA and the CMTS for transmission of the call signaling packets when using broadcast request opportunities. Referring to FIGS. 11-13, it can be shown that there are 4 packets that have to be sent upstream before the phone rings on the originator and 3 packets that has to be send out on the far-end. This is assuming that the dial map is designed in such a way that the first time the eMTA contacts the CMTS is the time that all the digits are completed.

[0181] To further analyze, certain designs of a CMTS issue MAP messages every 4 milliseconds. Thus using that metric, on average, packets have to be waiting in the queue of the CMTS for 2 milliseconds to make the request. Further, it takes 1 millisecond for the message to propagate to the CMTS. Also assume that the request can be granted in the first MAP message and on average the packet would be scheduled from the arrival of MAP within 2 milliseconds. It takes 2 milliseconds for the MAP packet to be received from the CMTS to CM.

[0182] The result is shown in Table 3 below: TABLE 3 Explanation Delay Total Delay The request is send in the 2 ms 2 ms contention area Interleaving delay 3 ms 5 ms Upstream Propagation delay 1 ms 6 ms The CMTS processes the request and 1 ms 7 ms schedules Downstream propagation delay 1 ms 8 ms The data area is used 2 ms 10 ms  Interleaving delay 3 ms 13 ms  The data is received by the CMTS 1 ms 14 ms 

[0183] It has to be noted that these numbers assume that the CMTS processing is in such a way that the data grant is issued with the next MAP message. A more realistic number is 15 millisecond average delay between the call signaling packet interception at the Cable Modem to the packet to be arriving at the CMTS for further processing.

[0184] If the contribution of cable transmission delay to post dial delay is to be calculated for originating side:

[0185] 4 upstream messages * 15 ms per message delay=60 ms delay.

[0186] For the far-end the number is:

[0187] 3 upstream messages *15 ms per message delay=45 ms delay.

[0188] Therefore, 10% of end-to-end delay budget of under one second of post dial delay is consumed by the cable segment transmission.

[0189] For the second issue it has been shown that the sharing of request/contention areas with data transmission introduces a very big delay to the system that during congestion intervals it may not be acceptable. It is possible that such is not applicable to a modern scheduler in which engineers the number of contention/requests to the traffic usage pattern. But the issue still remains and since the use of request/contention area cannot be prioritized between SIDs that are on different cable modems, meaning that it is not possible for CMTS to give call signaling packets a preferential treatment. Since the table transmission delay cannot be guaranteed, this would be reason enough for the request/contention area not to be used. The second alternative is the use of the non-real time polling.

[0190] Using Polled Request Opportunities

[0191] The polled request opportunity method assumes that all of the NCS call signaling packets are send through the service flows that are using the non-real-time polled scheduling type as defined by DOCSIS. In the non-real time polling the cable modem can use the request/contention grants but the CMTS is responsible for providing timely unicast request opportunities. The problem with this kind of scheduling is that since the CMTS cannot guess which cable modems are in contention in a contention/request opportunity, when a contention is detected, the cable modem should revert to the Unicast Polling Opportunities, which makes the use of the request/contention opportunities during high traffic.

[0192] Due to the reasons whether the non-real-time polling or the real-time polling is to be used in such kind of a situation the service flow should not be using the broadcast request opportunities. For the real-time polling the CMTS should be generating a request opportunity for each of the service flow individually. If we use the AT&T numbers the CMTS should be giving unicast request opportunity to each one of the 1000 cable modems. Assuming that a unicast request takes 12 bytes which for the best case of transmission takes 12.5 microseconds of upstream time. For all cable modems, this yields an upstream time of (12.5 microseconds * 1000=) 12.5 milliseconds.

[0193] Assuming that the maintenance overhead and others the minimum interval for the cable modem polling cannot be higher than 7 millisecond intervals. It is important to note that in such a case the whole upstream bandwidth is being used for polling and the upstream bandwidth cannot be used for other data transmission. It is important to consider that the main idea is to be able to use the upstream for the transport of VoIP and other data transmission as well.

[0194] Using Priority Request Opportunities

[0195] The last method is to use the priority request service IDs for the NCS call signaling packets. In this method all of the NCS call signaling packets use the service flows that has the request transmission policy set as the Cable Modem will not use the broadcast request opportunities and the cable modem will use the priority request multicast opportunities.

[0196] Even though the DOCSIS specification defines these fields as strict ordering for lower delay and higher buffering it is possible to use the priority for grouping the service flows for NCS call signaling. Now if it is assumed that all the remaining flows with best effort scheduling type are using the priority zero and the NCS call signaling is using priority 5 then if the CMTS schedules with every MAP cycle a priority 5 request opportunity (using SID ×3E20).

[0197] In such a case the Internet data using the priority 0 will be using the broadcast request opportunities and the priority 5 request opportunity will be used by the NCS call signaling. The benefit of such a scheme is that there is no waste of bandwidth due to individual poll and at the same time the NCS call signaling packets will not be contending with the NCS data packets.

[0198] The only issue with such a method is that the cable modem will use the truncated binary exponential backoff algorithm to pick which opportunity it will utilize, and there are only one global data backoff start and data backoff end settings. If one uses the same values that is being used for the broadcast data opportunities or any of the other contention request opportunities then this would cause an unnecessary bandwidth waste. One solution may be to use the segmented backoff setting bandwidth allocation MAP messages generation in the CMTS scheduler.

[0199] The problem with using Priority Requests is as follows. Lets assume that the priority 5 is being used for the NCS call signaling and the data backoff setting of a start value of 0 and an end value of 3 is sufficient for the expected contention probability. We can assume that the broadcast request opportunities use the start value of 1 and an end value of 7. Table 4 below contains the number of mini-slots in one 4 millisecond interval for various symbol rates/modulations: TABLE 4 mini-slot size (ticks) 2   4  8  16  32  64 128 mini-slot size (us) 12.5 25 50 100 200 400 800 symbol rate number of mini-slots in 4 ms interval 160000 N/A N/A N/A N/A 20 10 5 320000 N/A N/A N/A 40 20 10 5 640000 N/A N/A 80 40 20 10 5 1280000 N/A 160 80 40 20 10 5 25600000 320 160 80 40 20 10 5 160000 N/A N/A N/A N/A 20 10 5 320000 N/A N/A N/A 40 20 10 5 640000 N/A N/A 80 40 20 10 5 1280000 N/A 160 80 40 20 10 5 25600000 320 160 80 40 20 10 5

[0200] Assuming that a request takes 2 mini-slots we get the number of request opportunities on a 4 millisecond interval to be as shown in Table 5: TABLE 5 mini-slot size (ticks) 2   4  8  16  32  64 128 mini-slot size (us) 12.5 25 50 100 200 400 800 symbol rate number of requests in 4 ms interval 16000 N/A N/A N/A N/A 10 5 2.5 32000 N/A N/A N/A 20 10 5 2.5 64000 N/A N/A 40 20 10 5 2.5 128000 N/A 80 40 20 10 5 2.5 2560000 160 80 40 20 10 5 2.5 16000 N/A N/A N/A N/A 10 5 2.5 32000 N/A N/A N/A 20 10 5 2.5 64000 N/A N/A 40 20 10 5 2.5 128000 N/A 80 40 20 10 5 2.5 2560000 160 80 40 20 10 5 2.5

[0201] If we assume that all the priority request type are being used then we have 8 requests per MAP at least. The different between using the broadcast request data backoff settings and a specific value for the priority request is:

8 priority values * 3 unnecessary requests per MAP interval=24 unnecessary requests.

[0202] Due to the fact that the main reason for the use of priority requests is the timely transport of packets it is assumed that at least the initial data backoff setting of priority request opportunities has to be given in each interval. If we take into account that there are at least 4 requests per MAP interval we calculate the wasted interval as shown in Table 6: TABLE 6 mini-slot size (ticks) 2   4  8 mini-slot size (us) 12.5 25 50 symbol rate number of requests in 4 ms interval 160000 N/A N/A N/A 320000 N/A N/A N/A 640000 N/A N/A 0.666667 1280000 N/A 0.315789 0.666667 25600000 0.153846 0.315789 0.666667 160000 N/A N/A N/A 320000 N/A N/A N/A 640000 N/A N/A 0.666667 1280000 N/A 0.315789 0.666667 25600000 0.153846 0.315789 0.666667

[0203] This implies that a minimum of 15% of the upstream mini-slots will be wasted due to inability of the scheduler to send bandwidth allocation MAP messages with different data backoff settings.

[0204] A challenging aspect of DOCSIS CMTS design are problems with scheduling channels and service flows generated therein based upon applications that use the bandwidth provided to them by the cable modem system. Today, the general analysis of the DOCSIS upstream scheduling is carried out in the domain of scheduling the data transmission opportunities. The request for upstream transmission is assumed to be arrived at the CMTS timely, and a uniform delay distribution is generally assumed for request arrival. For instance, the typical cable modem will have no idea if the application requesting a service flow is an HTTP application or a Voice over IP The main challenge for the CMTS is to meet the delay, bandwidth and other requirements of service flow quality of service encodings by scheduling the data transmission opportunities.

SUMMARY OF THE INVENTION

[0205] What is disclosed is a method of scheduling upstream bandwidth. This method comprises: 1) anticipating the need for the upstream bandwidth in advance of any specific request for said upstream bandwidth; and 2) scheduling the upstream bandwidth in accordance with such need.

[0206] The invention, in various embodiments, consists of a context dependent scheduler (CDS) that schedules upstream bandwidth for cable modems by anticipating that a grant of bandwidth would be needed. The anticipated grant is based knowing the type of application for the Service Flow and upon recognizing that a downstream packet being sent to the cable modem thereby knowing the context the packet is being sent. When the application receives a message that requires it to send a message back upstream, the context dependent scheduler anticipates that a request for upstream bandwidth will soon follow and schedules bandwidth.

BRIEF DESCRIPTION OF THE DRAWINGS

[0207]FIG. 1 illustrates a simplified diagram of a conventional cable modem system.

[0208]FIG. 2 illustrates the upstream transmission time-line being divided into intervals by the upstream bandwidth allocation mechanism.

[0209]FIG. 3 illustrates a MAC Header and MAC Management Message Header Fields.

[0210]FIG. 4 illustrates the components of a upstream bandwidth allocation MAP including a variable number of information elements.

[0211]FIG. 5 illustrates the structure of a MAP IE.

[0212]FIG. 6 illustrates a protocol exchange between a cable modem and CMTS.

[0213]FIG. 7 illustrates the relationship between the scheduling services and the related QoS parameters.

[0214]FIG. 8 illustrates a first portion of all of the messages passed in a NCS PacketCable call setup protocol flow.

[0215]FIG. 9 illustrates a second portion of all of the messages passed in a NCS PacketCable call setup protocol flow.

[0216]FIG. 10 illustrates a third portion of all of the messages passed in a NCS PacketCable call setup protocol flow.

[0217]FIG. 11 illustrates a first portion of all the messages that are exchanged between the eMTA and the CMTS for transmission of the call signaling packets when using broadcast request opportunities.

[0218]FIG. 12 illustrates a second portion of all the messages that are exchanged between the eMTA and the CMTS for transmission of the call signaling packets when using broadcast request opportunities.

[0219]FIG. 13 illustrates a third portion of all the messages that are exchanged between the eMTA and the CMTS for transmission of the call signaling packets when using broadcast request opportunities.,

[0220]FIG. 14 illustrates a flowchart according to one or more embodiments of the invention.

[0221]FIG. 15 is a timing diagram illustrating one or more embodiments of the invention.

DETAILED DESCRIPTION OF THE INVENTION

[0222] In brief, the invention, in various embodiments, consists of a context dependent scheduler (CDS) that schedules upstream bandwidth for cable modems by anticipating that a grant of bandwidth would be needed. The anticipated grant is based knowing the type of application for the Service Flow and upon recognizing that a downstream packet being sent to the cable modem thereby knowing the context the packet is being sent. When the application receives a message that requires it to send a message back upstream, the context dependent scheduler anticipates that a request for upstream bandwidth will soon follow and schedules bandwidth. The schedule of bandwidth is such that the application generated packet will not be delayed in the Cable Modem as it would be the case if the CMTS has not anticipated the upstream packet generated by the application. In some embodiments, the context dependent scheduler will also estimate or know how much bandwidth will be requested. Using these parameters, the context dependent scheduler will schedule upstream bandwidth in advance of any request by the cable modem for such bandwidth. This takes advantage of the fact that many applications that utilize broadband system bandwidth generate an upstream data packet in response to a downstream packet being received.

[0223] If the CMTS knows when a packet is sent downstream for an application, the CDS then can predict (in general the application processing does not take time) when that application would generate an upstream packet (thus requesting bandwidth for the upstream packet). Taking the VoIP (Voice over IP) application as an example discussed above, it can be shown that except for the ringing state, the VoIP application response time depends on the processing of the message by the NCS/DQoS stack. For this reason if the CMTS has ability to detect VoIP call signaling packets (for example, due to the DiffServ markings and destination IP address), the CDS can anticipate an upstream packet is to be generated by the VoIP application. Since in general the call signaling is sent through a specific Service Flow , the CDS can schedule a request and/or data opportunity in anticipation of the packet to be generated by the application.

[0224] The choice of whether the CDS grants request and/or data opportunity depends on several factors. Some of these factors include the determinism of the upstream packet generation, certainty of the expected packet size, and bandwidth utilization at the instant.

[0225] For instance, if the application would most probably generate a packet of size 430 bytes then it is possible for the CDS to schedule a 430 byte data opportunity for the next MAP message (assuming that the anticipated time is before the scheduled time).

[0226] It is important to note that, the cable modem should still be allowed to make unsolicited requests for the packets that are not being served by the anticipated grant scheduling.

[0227] Using again the VoIP example, it would be possible to use unicast polling with a frequency (interval) of 100 milliseconds. This will only affect the first packet sent upstream during the messaging bursts, but from that point on, the latency will be contained to anticipated packet generation time.

[0228] The latency due to anticipated packet generation for all practical purposes can be considered as 4 milliseconds (assuming 1 millisecond delay on downstream and 1 millisecond for inter-protocol communication and 1 millisecond for the NCS/DQoS protocol stack). With an extra 1 millisecond for the next inter-protocol communication, the upstream cable transport delay would be around 5 milliseconds. If there are 5 messaging packets which occur for call setup, then the total time is: 50(average poll wait)+1(upstream delay)+4*5=71 milliseconds. It is important to note that for a unicast polling system to reach this response time the polls should be occurring with the frequency of: (71-5)(upstream propagation time)/5(no upstream messages)*2(normalize the average number)=26.4 milliseconds. This is almost one-fourth of what is being used as the polling interval.

[0229]FIG. 14 illustrates a flowchart according to one or more embodiments of the invention. The basic process 1400 of anticipated grant scheduling has the following control and action flow. The CMTS will keep the state/context of the application by examining the packets. Even though the CMTS can examine the packets to gather the state of the application it is possible for many application to have information about the application state using simple measures such as packet counting or even in some cases no state at all.

[0230] For example in the VoIP example given before it is almost certain that for a downstream packet the VoIP client would generate an upstream packet immediately (in the timeframe of cable access roundtrip delay of bandwidth request.

[0231] In such cases as the VoIP example reception of a packet on the downstream is an indication that a packet requires that an acknowledgement or reply needs to be sent upstream (block 1410).

[0232] The check for existence of this condition is persistent. If it ever determined that a packet requires a reply/acknowledgement be sent upstream, then the CMTS anticipates the bandwidth required for coming upstream packet traffic (block 1420). The amount of bandwidth can be anticipated based upon the type of packet which generated a need for a replay/acknowledgement to be sent upstream and by examining the MAP. Once the need for bandwidth is determined, the upstream bandwidth can be scheduled in advance of a request for such bandwidth (block 1430). The bandwidth is scheduled through a MAP message or similar means.

[0233]FIG. 15 is a timing diagram illustrating one or more embodiments of the invention. The timing diagram represents an approximate time-space succession of events and causes in anticipated grant scheduling. The network refers to the wide-area network or Internet or similar network to which the CMTS and its cable mode subscribers are attempting access. A packet traveling in the downstream direction originates at such a network, and passes through the CMTS which then forwards the packet to a cable modem. The cable modem is typically a device which is connected to a computer system which runs at least one Application which uses the bandwidth, either upstream and/or downstream, provided over the Network.

[0234] Thus, consider a packet being forwarded first from the Network to the CMTS and then from CMTS to Cable Modem and finally from the Cable Modem to the Application. Assuming this is a packet that requires an acknowledgement or reply, the need for upstream bandwidth, if any, can be anticipated. The anticipation of upstream bandwidth will cause the CMTS to predict (which may not be precise or correct all the time) the size of the need and then create and send a bandwidth allocation MAP message downstream to the cable modem. The bandwidth allocation MAP for the upstream traffic, in this case, the acknowledgment, is received by the cable modem. The cable modem is then ready to accept upstream traffic from the application generating it. In the VoIP example the application almost always sends back an acknowledgement of the message it just received from downstream.

[0235] This process is repeated for every cable modem and also, may be repeated where a new application instance requires the services of the cable modem.

[0236] Although the present invention has been described in detail with reference to the disclosed embodiments thereof, those skilled in the art will appreciate that various substitutions and modifications can be made to the examples described herein while remaining within the spirit and scope of the invention as defined in the appended claims. Also, the methodologies described may be implemented using any combination of software, specialized hardware, firmware or a combination thereof and built using ASICs, dedicated processors or other such electronic devices. 

What is claimed is:
 1. A method of scheduling upstream bandwidth, comprising: anticipating the need for said upstream bandwidth in advance of any specific request for said upstream bandwidth; and scheduling said upstream bandwidth in accordance with such need.
 2. A method according to claim 1 wherein anticipating includes: detecting a packet which needs acknowledgement of a downstream packet; and determining from the detection of said acknowledging packet said need for said upstream bandwidth.
 3. A method according to claim 2 wherein determining said need includes at least one of determinism of upstream packet generation, certainty of the expected packet size, and instant bandwidth utilization.
 4. A method according to claim 3 wherein said need is fixed for a given application needing said upstream bandwidth.
 5. A method according to claim 1 further comprising: sending a bandwidth allocation MAP message to the cable modem that generated said acknowledging packet.
 6. An article comprising a computer-readable medium having instructions stored thereon which when executed cause: anticipating the need for said upstream bandwidth in advance of any specific request for said upstream bandwidth; and scheduling said upstream bandwidth in accordance with such need.
 7. An article according to claim 6 wherein anticipating includes: detecting a packet which needs acknowledgement of a downstream packet; and determining from the detection of said acknowledging packet said need for said upstream bandwidth.
 8. An article according to claim 7 wherein determining said need includes at least one of determinism of upstream packet generation, certainty of the expected packet size, and instant bandwidth utilization.
 9. An article according to claim 3 wherein said need is fixed for a given application needing said upstream bandwidth.
 10. A method according to claim 6 further causing: sending a bandwidth allocation MAP message to the cable modem that generated said acknowledging packet.
 11. A system for scheduling upstream bandwidth for a network device on a network, comprising: an application configured to utilize said network device to send and receive packets; a scheduler configured to forward packets to and from said network device, said scheduler coupled to said network device such that said network device interposes said application and said scheduler, said scheduler configured to anticipate upstream bandwidth needs of said application, said scheduler configured to schedule to said network device said upstream bandwidth based on said needs.
 12. A system according to claim 11 wherein said scheduler is further configured to detect an acknowledgment packet sent by said application in response to a downstream packet being received thereby, said detection triggering said anticipation.
 13. A system according to claim 11 wherein said network is a broadband communications system.
 14. A system according to claim 11 wherein said network device includes a cable modem.
 15. A system according to claim 14 wherein said scheduler is a part of a cable modem termination system.
 16. A system according to claim 11 wherein the factors used to in determining said needs includes at least one of determinism of upstream packet generation, certainty of the expected packet size, and instant bandwidth utilization.
 17. A system according to claim 11 wherein said needs are fixed for a given said application. 